#include <iostream>
#include <stdio.h>
using namespace std;
int main()
{
	double a,b,d;
	cin>>a>>b;
    d = a - b * 0.8;
	printf("%.2lf",d);
	return 0;
}
